package com.whli.autumn.mall.wms.enums;

/**
 * <p>库存操作类型</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023/5/27 15:01
 */
public enum StockActionEnum {
    OTHER_STOCK("0", "待验"),
    IN_STOCK("1", "入库"),
    OUT_STOCK("2", "出库")
    ;

    /** 操作类型编码 */
    private String type;

    /** 操作类型名称 */
    private String name;

    StockActionEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
